﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Best.SmartCms.Utility.Entities.Weixin
{
    public class AccessTokenResult : WxJsonResult
    {
        /// <summary>
        /// 获取到的凭证
        /// </summary>
        public string access_token { get; set; }

        /// <summary>
        /// 凭证有效时间，单位：秒
        /// </summary>
        public int expires_in { get; set; }
    }


    public class AccessTokenExpireInfo
    {
        /// <summary>
        /// 微信AccessTokenResult
        /// </summary>
        public AccessTokenResult AccessTokenResult { get; set; }

        /// <summary>
        /// 过期时间
        /// </summary>
        public DateTime AccessTokenExpireTime { get; set; }
    }
}
